﻿using UnityEngine;
//UI的生命周期
public abstract class WindowBehaviour
{
    public string Name { get; set; }
    public Transform transform { get; set; }
    public GameObject gameObject { get; set; }
    public Canvas canvas { get; set; }
    public bool isVisible{ get; set; }
    public abstract void OnAwake();
    public abstract void OnShow();
    public abstract void OnUpdate();
    public abstract void OnHide();
    public abstract void OnDestroy();

    

}